﻿<Window x:Class="FastMVVM.WPF4.Template.View.MainWindowView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:core="clr-namespace:FastMVVM.Core;assembly=FastMVVM.NETFramework4"
        Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
    
    <Window.Resources>
        <core:DebugBinding x:Key="Debugger" />
    </Window.Resources>
    <Grid>
        <TextBlock x:Name="tbMessage" Text="{Binding Text}" DataContext="{Binding Message}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="40" Visibility="Collapsed"/>
        <!-- If you want to debug the binding, you can put a Debugger Converter like this: -->
        <!--<TextBlock x:Name="tbMessage" Text="{Binding Text, Converter={StaticResource Debugger}}" DataContext="{Binding Message}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="40" Visibility="Collapsed"/>-->
    </Grid>
</Window>
